package io.renren.modules.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author starry
 * @email 2495646304@qq.com
 * @date 2024-01-29 17:53:46
 */
@Data
@TableName("EMR_GH_INFO")
public class EmrGhInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 挂号编号
     */
    @TableId
    private Integer emrGhId;
    /**
     * 患者编号
     */
    private Integer emrHzId;
    /**
     * 医生编号
     */
    private Integer emrYsId;
    /**
     * 挂号状态
     */
    private Integer emrGhState;
    /**
     * 就诊时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date emrGhTime;
    /**
     * 挂号时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date emrGhOrder;

    /**
     * 患者信息
     */
    @TableField(exist = false)
    private EmrHzInfoEntity hzInfoEntity;

}
